#define _CRT_SECURE_NO_WARNINGS 
#include <stdio.h>
#include <assert.h>
size_t my_strlen1(const char* b)
{
	assert(b);
	size_t count = 0;
	while (*b++ != '\0')
	{
		count++;
	}
	return count;
}
size_t my_strlen2(const char* b)
{
	assert(b);
	if (*b == '\0')
		return 0;
	else
		return 1 + my_strlen2(b + 1);
}
int main()
{
	char a[] = "bit is yyds.";
	printf("%zu\n", my_strlen1(a));
	printf("%zu\n", my_strlen2(a));
	return 0;
}